package com.picket.dao;

import java.util.Collection;

import com.picket.domain.Pool;

public interface IPoolDao {

	public Pool create(final Pool pool) ;
	
	public Collection<Pool> getAllPools();
	
	public Pool getPool(long id);
	
	Collection<Pool> getAllPoolsForEvent(long eventId);
	
	Pool findByReferral(String referralKey);
	
}
